using Android.Content;
using Cirrious.MvvmCross.Application;
using Cirrious.MvvmCross.Binding.Droid;
using Conference.Core.UX;
using TeaLightV5.Foundation.UX.Droid.Platform;

namespace Conference.UX.DroidPhone
{
    public class Setup
        : TeaBaseAndroidSetup
    {
        public Setup(Context applicationContext) 
            : base(applicationContext)
        {
        }

        protected override MvxApplication CreateApp()
        {
            var app =  new App();
            return app;
        }

        protected override void AddPluginsLoaders(Cirrious.MvvmCross.Platform.MvxLoaderPluginRegistry loaders)
        {
            loaders.AddConventionalPlugin<Cirrious.MvvmCross.Plugins.Sqlite.Droid.Plugin>();
            base.AddPluginsLoaders(loaders);
        }

    }
}